package com.ciis.system.role.mapper;

import com.ciis.system.role.domain.TSysRole;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: zhangdajun
 * Date: 14-6-1
 * Time: 上午10:36
 * To change this template use File | Settings | File Templates.
 */
@Repository("roleMapper")
public interface ITSysRoleMapper {

    public void save(TSysRole role) throws Exception;

    public void delete(String id) throws Exception;

    public void deleteRoleByGId(String groupId) throws Exception;

    public void update(TSysRole role) throws Exception;

    public TSysRole getSysRolesById(String id) throws Exception;

    public List<TSysRole> getSysRoleByGId(String groupId) throws Exception;

    public List<TSysRole> getGroupRole(String groupId) throws Exception;
}
